import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/facility_statistics_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/facility_statistics_entity.g.dart';

///设备设施-首页统计
@JsonSerializable()
class FacilityStatisticsEntity {
  FacilityStatisticsEntity();

  factory FacilityStatisticsEntity.fromJson(Map<String, dynamic> json) => $FacilityStatisticsEntityFromJson(json);

  ///	待更换
  int? change = 0;

  ///	待校验
  int? check = 0;

  ///	在用
  int? isUsed = 0;

  ///	正常
  int? normal = 0;

  ///	报废
  int? scrap = 0;

  ///	停用
  int? unUsed = 0;

  Map<String, dynamic> toJson() => $FacilityStatisticsEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
